*::after, *::before {
  box-sizing: border-box;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #e0f7fa;
}

.container .loader {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 100px;
}

.container .loader.one span{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #5989ff;
  border-radius: 50%;
  animation: animate ease-in-out 2s infinite;
}

.container .loader.one span:nth-child(2) {
  background: rgba(56, 109, 241, .05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255, .1);
  animation-delay: -1s;
}

@keyframes animate {
  0%, 100% {
    transform: translateX(-80px);
  }
  50% {
    transform: translateX(80px);
  }
}

.container .loader.one span::before{
  content: '';
  position: absolute;
  bottom: -100px;
  left: -20%;
  width: 140%;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(rgba(0,0,0,.4), transparent, transparent);
}

.container .loader.two {
  position: relative;
  width: 180px;
  height: 180px;
}

.container .loader.two span:nth-child(1) {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background:rgba(233,30,90,.05);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  z-index: 2;
  border: 1px solid rgba(255,255,255,.1);
}

.container .loader.two span:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  animation: rotateCircle 1s linear infinite;
}

@keyframes rotateCircle {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

.container .loader.two span:nth-child(2)::before {
  content: '';
  display: block;
  position: absolute;
  top: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  background: #ff6198;
} 